// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    min-width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;

  .el-dialog__header{
    text-align: left;
    border-bottom: 1px solid $--border-color-light;
  }
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}


.el-form{
  .el-form-item__label{
    color: #333
  }
}

.el-pagination {

  .el-pager li, .btn-prev, .btn-next  {
    border-radius: 18px;
    background-color: transparent;
    border: 1px solid #f4f4f5;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    line-height: 32px;
    min-width: auto;
    border-color: $--border-color-base;
    font-weight: normal;

    + li {
        margin-left: 8px
      }

    &:not(.disabled).active{
      background: linear-gradient(0deg, $--app-pagination-gradient-stop1 0%, $--app-pagination-gradient-stop2 100%);
      color: $--app-main-color;
    }
  }

  .el-pager{
    margin: 0 12px
  }

  .btn-prev, .btn-next {
    width: auto;
    padding: 0 16px
  }

  .el-pagination__editor.el-input {
    .el-input__inner {
      border-radius: 14px;
    }
  }
}

.el-button--success.is-plain{
  background: transparent
}

.noticePopper{
  padding: 12px 0
}

.el-icon-circle-close{
  color: #FFFFFF;
}

.el-collapse-item__header{
  font-size: 15px;
  font-weight: bold;
}


.btn-primary-box {
  border: 1px solid $--app-main-color;
  color: $--app-main-color;
}